﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CooliteExamples.Web.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>New York City Code Camp Coolite Examples</title>
    <ext:ScriptContainer ID="ScriptContainer1" runat="server" />
</head>
<body>
    <script language="javascript" type="text/javascript">
        var menuItem_Click = function(sender, args) {
            var url = sender.navigationUrl;
            pnlMain.load({
                url: url,
                text: sender.loadingText
            });
        }
    </script>

    <ext:ScriptManager ID="ScriptManager1" runat="server" />
    <form id="form1" runat="server">
    <ext:ViewPort ID="ViewPort1" runat="server" AutoHeight="true">
        <Body>
            <ext:BorderLayout ID="BorderLayout1" runat="server">
                <West Split="true">
                    <ext:Panel ID="Panel1" runat="server" Title="Navigation" Width="200">
                        <Body>
                            <ext:Accordion ID="Accordion1" runat="server" Animate="true">
                                <ext:MenuPanel ID="MenuPanel3" runat="server" Title="Examples" AutoHeight="true">
                                    <Menu ID="Menu3" runat="server">
                                        <Items>
                                            <ext:MenuItem ID="menuCreateForm" runat="server" Text="Coolite Layout Example" Icon="Page" />
                                            <ext:MenuItem ID="menuUsingStore" runat="server" Text="Store Example" Icon="Page" />
                                            <ext:MenuItem ID="menuAuthorManage" runat="server" Text="Author Manage" Icon="Page" />
                                            <ext:MenuItem ID="menuGridPanel" runat="server" Text="GridPanel Example" Icon="Page" />
                                            <ext:MenuItem ID="menuBookEntry" runat="server" Text="Book Entry" Icon="Page" />
                                        </Items>
                                        <Listeners>
                                            <ItemClick Fn="menuItem_Click" />
                                        </Listeners>
                                    </Menu>
                                </ext:MenuPanel>
                            </ext:Accordion>
                        </Body>
                    </ext:Panel>
                </West>
                <Center Split="true">
                    <ext:Panel ID="pnlMain" runat="server" Border="true" Frame="true">
                        <AutoLoad Mode="IFrame" ShowMask="true" MaskMsg="Loading Page..." />
                    </ext:Panel>
                </Center>
            </ext:BorderLayout>
        </Body>
    </ext:ViewPort>
    </form>
</body>
</html>
